package com.tedu.jsd2407_ivos_fzj.audit.mapper;

import com.tedu.jsd2407_ivos_fzj.application.pojo.entity.Application;
import com.tedu.jsd2407_ivos_fzj.audit.pojo.dto.AuditQuery;
import com.tedu.jsd2407_ivos_fzj.audit.pojo.entity.Audit;
import com.tedu.jsd2407_ivos_fzj.audit.pojo.vo.AuditVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AuditMapper {
    void insert(Audit audit);
    List<AuditVO> selectByApplicationId(Long applicationId);
    void deleteByApplicationId(Long applicationId);
    List<AuditVO> select(AuditQuery auditQuery);
    void update(Audit audit);
    Integer selectRestCount(AuditQuery auditQuery);
    void deleteById(Long id);
}
